using System;
using System.Linq;
using Core.Demo1;
using NUnit.Framework;
using NBehave.Spec.NUnit;

namespace Core.UnitTests.Demo1
{
	[TestFixture]
	public class Demo1Tester
	{
		[Test]
		public void Should_provide_unique_list_of_employees()
		{
//			var employee1 = new IncrementService.Employee
//			                	{
//			                		Id = Guid.NewGuid(),
//			                		Name = "John",
//			                	};
//
//			var employee2 = new IncrementService.Employee
//			                	{
//			                		Id = Guid.NewGuid(),
//			                		Name = "Smith",
//			                	};
//
//			var employee3 = new IncrementService.Employee
//			                	{
//			                		Id = Guid.NewGuid(),
//			                		Name = "Roy",
//			                	};
//
//			var service = new IncrementService();
//			var uniqueEmployeeList = service.GetUniqueEmployeeList(
//				new[] {employee1,employee2,employee1,employee3});
//
//			uniqueEmployeeList.Count().ShouldEqual(3);
		}
	}
}